package com.mall.module.user.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(description = "余额记录视图对象")
public class BalanceRecordVO {

    @ApiModelProperty(value = "记录ID")
    private Long recordId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "金额变动")
    private BigDecimal amount;

    @ApiModelProperty(value = "变动后余额")
    private BigDecimal afterBalance;

    @ApiModelProperty(value = "变动类型(RECHARGE:充值/CONSUME:消费/REFUND:退款/WITHDRAW:提现)")
    private String changeType;

    @ApiModelProperty(value = "关联订单号")
    private String orderSn;

    @ApiModelProperty(value = "变动描述")
    private String description;

    @ApiModelProperty(value = "创建时间")
    private String createTime;
} 